![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
-##### Current tip version: 0.9.46 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
+##### Current tip version: 0.9.47 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
"github.com/gogits/gogs/modules/setting"
)
-const APP_VER = "0.9.46.0717"
+const APP_VER = "0.9.47.0721"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
username = loginName
}
// Validate username make sure it satisfies requirement.
- if !binding.AlphaDashDotPattern.MatchString(username) {
+ if binding.AlphaDashDotPattern.MatchString(username) {
return nil, fmt.Errorf("Invalid pattern for attribute 'username' [%s]: must be valid alpha or numeric or dash(-_) or dot characters", username)
}
-0.9.46.0717
\ No newline at end of file
+0.9.47.0721
\ No newline at end of file