mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Finish new reset password, etc.
This commit is contained in:
		@@ -17,7 +17,12 @@ const (
 | 
			
		||||
 | 
			
		||||
func Home(ctx *middleware.Context) {
 | 
			
		||||
	if ctx.IsSigned {
 | 
			
		||||
		user.Dashboard(ctx)
 | 
			
		||||
		if !ctx.User.IsActive && setting.Service.RegisterEmailConfirm {
 | 
			
		||||
			ctx.Data["Title"] = ctx.Tr("auth.active_your_account")
 | 
			
		||||
			ctx.HTML(200, user.ACTIVATE)
 | 
			
		||||
		} else {
 | 
			
		||||
			user.Dashboard(ctx)
 | 
			
		||||
		}
 | 
			
		||||
		return
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user