mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
330f878085
POST logout instead of GET GitOrigin-RevId: b502a6ed945acd336d1a921e5c4c5433d8b7c7b7
20 lines
710 B
Text
20 lines
710 B
Text
extends ../layout
|
|
|
|
block vars
|
|
- metadata = { viewport: true }
|
|
|
|
block content
|
|
.content.content-alt
|
|
.login-register-container
|
|
.card.login-register-card
|
|
.login-register-header
|
|
h1.login-register-header-heading #{translate("log_out")}
|
|
form.login-register-form(name="logoutForm", action='/logout', method="POST" ng-init="$scope.inflight=true" auto-submit-form)
|
|
input(name='_csrf', type='hidden', value=csrfToken)
|
|
.actions
|
|
button#submit-logout.btn-primary.btn.btn-block(
|
|
type='submit',
|
|
ng-disabled="$scope.inflight"
|
|
)
|
|
span(ng-show="!$scope.inflight") #{translate("log_out")}
|
|
span(ng-show="$scope.inflight" ng-cloak) #{translate("logging_out")}...
|