IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
logger.Critical("Unable to regenerate authorized_keys file. ERROR: %v",err)
returnfmt.Errorf("Unable to regenerate authorized_keys file. ERROR: %v",err)
}
scanner=bufio.NewScanner(regenerated)
forscanner.Scan(){
line:=scanner.Text()
ifstrings.HasPrefix(line,tplCommentPrefix){
continue
}
ifok:=linesInAuthorizedKeys[line];ok{
continue
}
if!autofix{
logger.Critical(
"authorized_keys file %q is out of date.\nRegenerate it with:\n\t\"%s\"\nor\n\t\"%s\"",
fPath,
"gitea admin regenerate keys",
"gitea doctor --run authorized_keys --fix")
returnfmt.Errorf(`authorized_keys is out of date and should be regenerated with "gitea admin regenerate keys" or "gitea doctor --run authorized_keys --fix"`)
}
logger.Warn("authorized_keys is out of date. Attempting rewrite...")