aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/basic.go
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2021-11-24 12:12:03 -0800
committerMike Crute <mike@crute.us>2021-11-24 12:15:09 -0800
commitebce860860eb2163bcd0614fc7e82c3f3a259cf3 (patch)
treee07ed8b290c37abf0134ed5ec8f5b6d5fce65d8f /app/controllers/basic.go
parent09fa11a1dad5301e8e0aeb069fc1d11312b4a1c5 (diff)
downloadcloud-identity-broker-admin-pages.tar.bz2
cloud-identity-broker-admin-pages.tar.xz
cloud-identity-broker-admin-pages.zip
Diffstat (limited to 'app/controllers/basic.go')
-rw-r--r--app/controllers/basic.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/basic.go b/app/controllers/basic.go
index eff97e1..5363640 100644
--- a/app/controllers/basic.go
+++ b/app/controllers/basic.go
@@ -11,6 +11,14 @@ func IndexHandler(c echo.Context) error {
11 return c.Render(http.StatusOK, "index.tpl", nil) 11 return c.Render(http.StatusOK, "index.tpl", nil)
12} 12}
13 13
14func AccountFormHandler(c echo.Context) error {
15 return c.Render(http.StatusOK, "account.tpl", nil)
16}
17
18func UserFormHandler(c echo.Context) error {
19 return c.Render(http.StatusOK, "user.tpl", nil)
20}
21
14func LogoutHandler(c echo.Context) error { 22func LogoutHandler(c echo.Context) error {
15 glecho.DeleteAllCookies(c) 23 glecho.DeleteAllCookies(c)
16 return c.Redirect(http.StatusFound, "/") 24 return c.Redirect(http.StatusFound, "/")