moved forgot password? link
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -19,6 +19,5 @@
|
|||||||
<button type="submit">Login…</button>
|
<button type="submit">Login…</button>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
<a href="reset-pw«if(data.email)»?email=«data.email»«endif»">Forgot password?</a>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -1,7 +1,12 @@
|
|||||||
<nav>
|
<nav>
|
||||||
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif»
|
«if(data.user)»
|
||||||
|
<a class="button logout" href="logout" />Logout</a>
|
||||||
|
«endif»
|
||||||
<a href="index">Home</a>
|
<a href="index">Home</a>
|
||||||
<a href="admin">Administration</a>
|
<a href="admin">Administration</a>
|
||||||
|
«if(!data.user)»
|
||||||
|
<a class="button" href="reset-pw" />Forgot password?</a>
|
||||||
|
«endif»
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
if ('«data.user.permissions»'.includes('admin')){
|
if ('«data.user.permissions»'.includes('admin')){
|
||||||
|
|||||||
Reference in New Issue
Block a user