Skip to content

Commit

Permalink
Fix Totp Template Override File Path
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhishekDas committed Jan 4, 2015
1 parent cbc8b44 commit 33ce444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/twofactorauth/totp/totp.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ public function onUserTwofactorShowConfiguration($otpConfig, $user_id = null)

JLoader::import('joomla.filesystem.file');

if (JFile::exists($path . 'form.php'))
if (JFile::exists($path . '/form.php'))
{
include_once $path . 'form.php';
include_once $path . '/form.php';
}
else
{
Expand Down

0 comments on commit 33ce444

Please sign in to comment.