Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
Merge branch '4.2' of github.com:atk4/atk4 into 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Romans Malinovskis committed Mar 14, 2012
2 parents 3b35e38 + 5b0a2db commit 07cfe1b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/BasicAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,7 @@ function processLogin(){
$this->api->template->tryDel('Menu');
$p=$this->showLoginForm();
if($this->form->isSubmitted()){
if($this->verifyCredintials(
$this->form->get('username'),
$this->encryptPassword($this->form->get('password'),$this->form->get('username'))
)){
if($this->verifyCredintials( $this->form->get('username'), $this->form->get('password'))){
$this->loggedIn($this->form->get('username'),$this->encryptPassword($this->form->get('password')));
$this->loginRedirect();
}
Expand Down

0 comments on commit 07cfe1b

Please sign in to comment.