File modules/cms/action/user/UserAdvancedAction.class.php

Last commit: Thu Nov 19 00:45:44 2020 +0100	Jan Dankert	Security fix: We must update the login token on every login; Administrators are able to see the login tokens of users.
1 <?php 2 namespace cms\action\user; 3 use cms\action\Method; 4 use cms\action\UserAction; 5 use cms\base\Configuration; 6 use cms\base\Startup; 7 use language\Messages; 8 use security\Base2n; 9 use security\Password; 10 11 /** 12 * Shows the login tokens of this user. 13 * 14 * @package cms\action\user 15 */ 16 class UserAdvancedAction extends UserAction implements Method { 17 18 public function view() { 19 $token = $this->user->getLoginTokens(); 20 21 $this->setTemplateVar( 'token', $token ); 22 } 23 24 public function post() { 25 } 26 }
Download modules/cms/action/user/UserAdvancedAction.class.php
History Thu, 19 Nov 2020 00:45:44 +0100 Jan Dankert Security fix: We must update the login token on every login; Administrators are able to see the login tokens of users.