Skip to content

Commit d0fd3aa

Browse files
author
Kristan Kenney
committed
Fix incorrect back button flow with SSH key management
1 parent bf514f0 commit d0fd3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/admin/list_key.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="l-center">
22
<div class="l-sort clearfix noselect">
33
<div class="l-unit-toolbar__buttonstrip">
4-
<a class="ui-button cancel" id="btn-back" href="javascript:history.back();"><i class="fas fa-arrow-left status-icon blue"></i> <?=_('Back')?></a>
4+
<a class="ui-button cancel" id="btn-back" href="/edit/user/?user=<?php echo $_SESSION['user']?>"><i class="fas fa-arrow-left status-icon blue"></i> <?=_('Back')?></a>
55
<?php
66
echo '<a href="/add/key/" id="btn-create" class="ui-button cancel"><i class="fas fa-plus-circle status-icon green"></i>'._('Add SSH Key').'</a>';
77
?>

0 commit comments

Comments
 (0)