Close: #271
appview/oauth/handler.go
appview/oauth/handler.go
This file has not been changed.
appview/pages/pages.go
appview/pages/pages.go
This file has not been changed.
+5
-4
appview/pages/templates/user/login.html
+5
-4
appview/pages/templates/user/login.html
···
63
63
<h5 class="font-medium">Login error</h5>
64
64
<p class="text-sm">
65
65
{{ if eq .ErrorCode "access_denied" }}
66
-
You have not authorized the app. Please try again
66
+
You have not authorized the app.
67
67
{{ else if eq .ErrorCode "session" }}
68
-
Server failed to create user session. Please try again
68
+
Server failed to create user session.
69
69
{{ else }}
70
-
Internal Server error. Please try again
71
-
</p>
70
+
Internal Server error.
72
71
{{ end }}
72
+
Please try again.
73
+
</p>
73
74
</div>
74
75
</div>
75
76
{{ end }}
appview/state/login.go
appview/state/login.go
This file has not been changed.
History
3 rounds
2 comments
boltless.me
submitted
#2
1 commit
expand
collapse
appview/oauth: handle failed login with error code
Close: #271
Signed-off-by: Seongmin Lee <git@boltless.me>
3/3 success
expand
collapse
expand 0 comments
pull request successfully merged
boltless.me
submitted
#1
1 commit
expand
collapse
appview/oauth: handle failed login with error code
Close: #271
Signed-off-by: Seongmin Lee <git@boltless.me>
3/3 success
expand
collapse
expand 1 comment
boltless.me
submitted
#0
1 commit
expand
collapse
appview/oauth: handle failed login with error code
Close: #271
Signed-off-by: Seongmin Lee <git@boltless.me>
Oh, just noticed; super tiny nit about the copy text: can you end each sentence a period? So, "โฆ Please try again." (ending with a ".")