We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in the on-login expression we run
$upsert("config", "user", {"ID":email, "name":user, "firstlogin":$now(), "lastlogin":$now()});
both first and last login are set to now
also, there's a table update trigger:
'admin' in $djRoles() ? false : { 'setObject': object ~> | $ | {'lastlogin': $now()}, ['firstlogin', 'name'] | }
that basically disallows non admins to change first and last login
The text was updated successfully, but these errors were encountered:
solution would be to move "firstlogin":$now() from on-login to the on-create trigger
Sorry, something went wrong.
aeberhart
No branches or pull requests
in the on-login expression we run
both first and last login are set to now
also, there's a table update trigger:
that basically disallows non admins to change first and last login
The text was updated successfully, but these errors were encountered: