mirror of https://gitee.com/answerdev/answer.git
Merge branch 'test' of git.backyard.segmentfault.com:opensource/answer into test
This commit is contained in:
commit
e32f74e5e2
|
@ -151,6 +151,9 @@ func initSiteInfo(engine *xorm.Engine, language, siteName, siteURL, contactEmail
|
|||
Content: string(loginConfigDataBytes),
|
||||
Status: 1,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
seoData := map[string]string{
|
||||
"robots": defaultSEORobotTxt + siteURL + "/sitemap.xml",
|
||||
|
|
|
@ -316,6 +316,7 @@ func (us *UserService) UserRegisterByEmail(ctx context.Context, registerUserInfo
|
|||
userInfo.IPInfo = registerUserInfo.IP
|
||||
userInfo.MailStatus = entity.EmailStatusToBeVerified
|
||||
userInfo.Status = entity.UserStatusAvailable
|
||||
userInfo.LastLoginDate = time.Now()
|
||||
err = us.userRepo.AddUser(ctx, userInfo)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
// style for colored navbar
|
||||
&.theme-light {
|
||||
background: linear-gradient(180deg, rgb(var(--bs-light-rgb)) 0%, rgba(var(--bs-light-rgb), 0.95) 100%);
|
||||
background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.95) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,6 @@ a {
|
|||
max-width: 100%;
|
||||
}
|
||||
p {
|
||||
word-break: break-word;
|
||||
> code {
|
||||
background-color: #e9ecef;
|
||||
color: #212529;
|
||||
|
|
Loading…
Reference in New Issue