File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export function CustomNavbar() {
54
54
< Nav >
55
55
< Nav . Link onClick = { ( e ) => {
56
56
e . preventDefault ( ) ;
57
- logout ( true ) ;
57
+ logout ( false ) ;
58
58
} } > { t ( "logout" ) } </ Nav . Link >
59
59
</ Nav >
60
60
</ Navbar . Collapse >
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ export const de ={
15
15
"close" : "Schließen" ,
16
16
"delete_user" : "Account löschen" ,
17
17
"password" : "Passwort" ,
18
- "password_invalid" : "Passwort falsch"
18
+ "password_invalid" : "Passwort falsch" ,
19
+ "logout_all" : "Von allen Geräten ausloggen"
19
20
} ,
20
21
"recovery" : {
21
22
"recovery" : "Passwort zurücksetzen" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ export const en = {
15
15
"close" : "Close" ,
16
16
"delete_user" : "Delete account" ,
17
17
"password" : "Password" ,
18
- "password_invalid" : "Password is wrong"
18
+ "password_invalid" : "Password is wrong" ,
19
+ "logout_all" : "Logout from all devices"
19
20
} ,
20
21
"recovery" : {
21
22
"recovery" : "Password recovery" ,
Original file line number Diff line number Diff line change @@ -249,6 +249,10 @@ export function User() {
249
249
< Button variant = "primary" className = "col col-sm-6 col-md-4 col-lg-3 col-xl-2 mb-3" onClick = { handleUpdatePasswordShow } >
250
250
{ t ( "change_password" ) }
251
251
</ Button >
252
+
253
+ < Button variant = "primary" className = "col col-sm-6 col-md-4 col-lg-3 col-xl-2 mb-3" onClick = { ( ) => logout ( true ) } >
254
+ { t ( "logout_all" ) }
255
+ </ Button >
252
256
< Button variant = "danger" className = "col col-sm-6 col-md-4 col-lg-3 col-xl-2" onClick = { handleDeleteUserShow } >
253
257
{ t ( "delete_user" ) }
254
258
</ Button >
You can’t perform that action at this time.
0 commit comments