diff options
author | Marvin Borner | 2019-05-02 22:37:13 +0200 |
---|---|---|
committer | Marvin Borner | 2019-05-02 22:37:13 +0200 |
commit | a6fc766d6eb808584c7cebea216f683b53f8e99b (patch) | |
tree | 484faadd60a0df0b648a27e130455d800512391d /src/main/resources/views/index.rocker.html | |
parent | 22797dde022a398b34a91ba24e2bdd89be3f36f8 (diff) |
Added user registration via admin
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/views/index.rocker.html')
-rw-r--r-- | src/main/resources/views/index.rocker.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/resources/views/index.rocker.html b/src/main/resources/views/index.rocker.html index cab6712..650a4b7 100644 --- a/src/main/resources/views/index.rocker.html +++ b/src/main/resources/views/index.rocker.html @@ -7,11 +7,12 @@ <div> @if(username.length() > 0) { - <a class="button" href="/logout">Logout</a> + <!-- TODO: Fix logout button? --> + <a class="button" href="/user/logout">Logout</a> } else if (!(new DatabaseController()).isSetup()) { <a class="button" href="/setup">Setup</a> } else { - <a class="button" href="/login">Login</a> + <a class="button" href="/user/login">Login</a> } <a class="button" href="/files/">Files</a> |