Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST]: Attribute that shows if user is logged in or not #1

Open
arthuro555 opened this issue Sep 27, 2019 · 2 comments
Open

Comments

@arthuro555
Copy link

Everythings in the title. I don't like it to give the option to the user to login and logout simultanously, I would prefer to know if he's logged in to display either "You're logged in!" and a logout button or a login screen. Btw could you update also the api version? I think you have the 1.0 version but the current version is 1.2

@MausGames
Copy link
Owner

The variable for that is named GJAPI.bActive, from a time where manually logging in was not supported and everything was handled by the GJ site.

You can use it in the meantime.
There is also a callback-parameter in GJAPI.UserLoginManual, if you want to immediately respond to the login-request.

The API upgrade will be tracked in issue #2

@arthuro555
Copy link
Author

Thank you very much for your quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants