mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 17:48:10 -03:30
Login dialog
If the attempt to get the license ('/api/v1/config') or user info ('/api/v1/me') fails, force user back to the login page. Additionally, call Authorization.logout() to make sure any residual token or user info is cleared.
Tweaked the login HTML so that ng-show on the login dialog header message will cause the message to show when the sessionExpired variable is null or undefined.
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
|
||||
Alias /munin /var/cache/munin/www
|
||||
<Directory /var/cache/munin/www>
|
||||
Alias /munin /var/www/html/munin/
|
||||
<Directory /var/www/html/munin/>
|
||||
Order Allow,Deny
|
||||
Allow from all
|
||||
Options FollowSymLinks
|
||||
|
||||
AuthUserFile /var/lib/awx/.munin_htpasswd
|
||||
AuthName "Munin"
|
||||
AuthType Basic
|
||||
require valid-user
|
||||
|
||||
<IfModule mod_expires.c>
|
||||
ExpiresActive On
|
||||
ExpiresDefault M310
|
||||
</IfModule>
|
||||
</Directory>
|
||||
ScriptAlias /munin-cgi/munin-cgi-graph /var/www/cgi-bin/munin-cgi-graph
|
||||
Reference in New Issue
Block a user