diff options
author | Mike Crute <mike@crute.us> | 2021-11-24 12:12:03 -0800 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2021-11-24 12:15:09 -0800 |
commit | ebce860860eb2163bcd0614fc7e82c3f3a259cf3 (patch) | |
tree | e07ed8b290c37abf0134ed5ec8f5b6d5fce65d8f /app/controllers/basic.go | |
parent | 09fa11a1dad5301e8e0aeb069fc1d11312b4a1c5 (diff) | |
download | cloud-identity-broker-admin-pages.tar.bz2 cloud-identity-broker-admin-pages.tar.xz cloud-identity-broker-admin-pages.zip |
WIPadmin-pages
Diffstat (limited to 'app/controllers/basic.go')
-rw-r--r-- | app/controllers/basic.go | 8 |
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 | ||
14 | func AccountFormHandler(c echo.Context) error { | ||
15 | return c.Render(http.StatusOK, "account.tpl", nil) | ||
16 | } | ||
17 | |||
18 | func UserFormHandler(c echo.Context) error { | ||
19 | return c.Render(http.StatusOK, "user.tpl", nil) | ||
20 | } | ||
21 | |||
14 | func LogoutHandler(c echo.Context) error { | 22 | func 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, "/") |