You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add post-installation redirect based on admin account status (#34493)
This PR adds a feature to direct users to appropriate pages after system
installation:
- If no admin credentials were provided during installation, redirect to
the registration page with a prominent notice about creating the first
administrative account
- If admin credentials were already set, redirect directly to the login
page

---------
Co-authored-by: wxiaoguang <[email protected]>
Copy file name to clipboardExpand all lines: options/locale/locale_en-US.ini
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -421,6 +421,7 @@ remember_me.compromised = The login token is not valid anymore which may indicat
421
421
forgot_password_title= Forgot Password
422
422
forgot_password = Forgot password?
423
423
need_account = Need an account?
424
+
sign_up_tip = You are registering the first account in the system, which has administrator privileges. Please carefully remember your username and password. If you forget the username or password, please refer to the Gitea documentation to recover the account.
424
425
sign_up_now = Register now.
425
426
sign_up_successful = Account was successfully created. Welcome!
426
427
confirmation_mail_sent_prompt_ex = A new confirmation email has been sent to <b>%s</b>. Please check your inbox within the next %s to complete the registration process. If your registration email address is incorrect, you can sign in again and change it.
0 commit comments