GithubHelp home page GithubHelp logo

Comments (8)

jech avatar jech commented on July 25, 2024

a user can login as many times as he wants

It's a useful feature, we often simultaneously use a smartphone for video and a laptop for the slides.

Shouldn't there be a check if a user is already logged in?

No, why?

from galene.

nikto1 avatar nikto1 commented on July 25, 2024

It's a useful feature

oh ok, true, it could also be a feature.

No, why?

Other people can impersonate you.
IMO at least there should be a message that you're already logged in from another device/ ip/ browser.

from galene.

jech avatar jech commented on July 25, 2024

Other people can impersonate you.

Only if they have your password.

IMO at least there should be a message that you're already logged in from another device/ip/ browser.

Sure, I'd be willing to accept a patch for that. You'll want to check in onJoined, and call displayWarning if the username is a duplicate.

from galene.

nikto1 avatar nikto1 commented on July 25, 2024

if the username is a duplicate.

Username alone is not enough as there can be 2 users with the same name.
Check should be done on same username/ password/ token. I think that's possible, right?

from galene.

jech avatar jech commented on July 25, 2024

There is no notion of user identity in Galene. "Two distinct users" is not a notion that is well defined in Galene: if two clients use the same username, Galene does not know whether it's two distinct users or the same user that connected twice.

On the other hand, the notion of "the same username" is well defined. Be aware, however, that the username that a client uses is not necessarily identical to the username that it used to login (a token can change the username).

from galene.

nikto1 avatar nikto1 commented on July 25, 2024

oh ok, so i don't think it's possible to display any message to fit it into the general galene instance.
As soon as i have some time i'll try to implement the duplicate message for token logins, because i only use tokens for authentication (faster for users to click on a link). Furthermore, tokens are always unique for 1 meeting.
Please let me know if you're interested so i'll provide the patch once done.

from galene.

jech avatar jech commented on July 25, 2024

I'll be glad to have a look at your patch. I don't know if I'll merge it, since we usually use a single token for all the students at a given lecture.

from galene.

jech avatar jech commented on July 25, 2024

This is working as designed, it's just a minor disagreement on how Galene should work.

from galene.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.