-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Last Sign-In not set at user creation. #21698
Comments
I can't reproduce the bug. Actually, the "last sign-in" has already been set to the current date after account creation. I checked the previous versions, and it always works like that since the "auto sign in" has been added at #4615. I think it may be caused by something else. |
Strange. I don't know how I can diagnose this though. Out of 11 users 5 of them are marked "Never Signed-In", one of them has created an org, but none of them has created a repo. |
Thanks for this ticket. I'm able to see this behaviour on try.gitea.io (as an admin). @JulienPalard What is the setup for your instance, is it public, do you require email confirmation for signups, or any other info you may think might be helpful. |
I reproduced the bug by steps:
I didn't reproduce the bug before because I didn't enable the email confirmation. Trying to figure it out and fix it. |
Fix #21698. Set the last login time to the current time when activating the user successfully. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Fix go-gitea#21698. Set the last login time to the current time when activating the user successfully. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Our setup is fully public here: https://github.com/AFPy/infra/blob/main/gitea.yml and here : https://github.com/AFPy/infra/tree/main/roles/gitea (browse the TL;DR we have |
Oh I'm late to the party :) Thanks taking the time to understand the bug and thanks for fixing it!!! |
Description
In
admin/users
I see users withLast Sign-In
set toNever Signed-In
while they obviously kind of "signed in" (one of them at least created an organization).It feel wrong that a user that "never signed-in" have created an organization.
So to me it feel like the "last sign-in" should be set to the current date when the user is "automatically signed in" at account creation.
Gitea Version
1.17.3
Can you reproduce the bug on the Gitea demo site?
No (need to be admin, I don't think I'll get admin there).
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian
How are you running Gitea?
Self-hosted instance, installed from https://dl.gitea.io, started using systemd.
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: