diff --git a/lib/system b/lib/system
index 209a86b..87a59c5 160000
--- a/lib/system
+++ b/lib/system
@@ -1 +1 @@
-Subproject commit 209a86b080deed9247de01acc5012b5df87d9b93
+Subproject commit 87a59c5e91d6d5918450444909aacdfa1d4236d2
diff --git a/mojotrollz/page/account_changeemail/account_changeemail.php b/mojotrollz/page/account_changeemail/account_changeemail.php
index cca7bf6..af85c93 100644
--- a/mojotrollz/page/account_changeemail/account_changeemail.php
+++ b/mojotrollz/page/account_changeemail/account_changeemail.php
@@ -10,7 +10,7 @@ class account_changeemail implements \SYSTEM\PAGE\Page {
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
if(!\SYSTEM\SECURITY\security::isLoggedIn()){
- return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_login/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
+ return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_changeemail/tpl/account_changeemail.tpl'))->SERVERPATH(), $vars);
}
diff --git a/mojotrollz/page/account_changepassword/account_changepassword.php b/mojotrollz/page/account_changepassword/account_changepassword.php
index 139196f..7534503 100644
--- a/mojotrollz/page/account_changepassword/account_changepassword.php
+++ b/mojotrollz/page/account_changepassword/account_changepassword.php
@@ -10,7 +10,7 @@ class account_changepassword implements \SYSTEM\PAGE\Page {
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
if(!\SYSTEM\SECURITY\security::isLoggedIn()){
- return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_login/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
+ return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_changepassword/tpl/account_changepassword.tpl'))->SERVERPATH(), $vars);
}
diff --git a/mojotrollz/page/account_changepassword/tpl/account_changepassword.tpl b/mojotrollz/page/account_changepassword/tpl/account_changepassword.tpl
index 8cceaf4..83b1ffa 100644
--- a/mojotrollz/page/account_changepassword/tpl/account_changepassword.tpl
+++ b/mojotrollz/page/account_changepassword/tpl/account_changepassword.tpl
@@ -49,10 +49,10 @@
name="user_password_new2"
placeholder="${basic_placeholder_password}"
data-validation-matches-match="user_password_new1"
- data-validation-matches-message="${basic_password_match}"/>
+ required data-validation-matches-message="${basic_password_match}"/>
-
+
@@ -68,6 +68,7 @@
+
diff --git a/mojotrollz/page/account_login/tpl/account_login.tpl b/mojotrollz/page/account_login/tpl/account_login.tpl
deleted file mode 100644
index 996c65b..0000000
--- a/mojotrollz/page/account_login/tpl/account_login.tpl
+++ /dev/null
@@ -1,58 +0,0 @@
-
\ No newline at end of file
diff --git a/mojotrollz/page/account_tbc/account_tbc.php b/mojotrollz/page/account_tbc/account_tbc.php
index 11e36e8..c150589 100644
--- a/mojotrollz/page/account_tbc/account_tbc.php
+++ b/mojotrollz/page/account_tbc/account_tbc.php
@@ -10,7 +10,7 @@ class account_tbc implements \SYSTEM\PAGE\Page {
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
if(!\SYSTEM\SECURITY\security::isLoggedIn()){
- return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_login/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
+ return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
$vars['email'] = \SYSTEM\SECURITY\security::getUser()->email;
$vars['username'] = \SYSTEM\SECURITY\security::getUser()->username;
diff --git a/mojotrollz/page/account_website/account_website.php b/mojotrollz/page/account_website/account_website.php
index 4a75e95..2f29a0f 100644
--- a/mojotrollz/page/account_website/account_website.php
+++ b/mojotrollz/page/account_website/account_website.php
@@ -10,7 +10,7 @@ class account_website implements \SYSTEM\PAGE\Page {
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
if(!\SYSTEM\SECURITY\security::isLoggedIn()){
- return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('account_login/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
+ return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
$vars['email'] = \SYSTEM\SECURITY\security::getUser()->email;
$vars['username'] = \SYSTEM\SECURITY\security::getUser()->username;
diff --git a/mojotrollz/page/autoload.inc b/mojotrollz/page/autoload.inc
index 237adc4..504d0be 100644
--- a/mojotrollz/page/autoload.inc
+++ b/mojotrollz/page/autoload.inc
@@ -9,6 +9,7 @@ require_once dirname(__FILE__).'/default_beta/autoload.inc';
require_once dirname(__FILE__).'/default_article/autoload.inc';
require_once dirname(__FILE__).'/default_donate/autoload.inc';
require_once dirname(__FILE__).'/default_register/autoload.inc';
+require_once dirname(__FILE__).'/default_resetpassword/autoload.inc';
require_once dirname(__FILE__).'/account_website/autoload.inc';
require_once dirname(__FILE__).'/account_tbc/autoload.inc';
diff --git a/mojotrollz/page/default_account/default_account.php b/mojotrollz/page/default_account/default_account.php
index 9f42fc3..927b7f7 100644
--- a/mojotrollz/page/default_account/default_account.php
+++ b/mojotrollz/page/default_account/default_account.php
@@ -9,7 +9,7 @@ class default_account implements \SYSTEM\PAGE\Page {
public function html(){
$vars = \SYSTEM\PAGE\text::tag('mojotrollz');
if(!\SYSTEM\SECURITY\security::isLoggedIn()){
- return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/loggedout.tpl'))->SERVERPATH(), $vars);}
+ return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/account_login.tpl'))->SERVERPATH(), $vars);}
return \SYSTEM\PAGE\replace::replaceFile((new PPAGE('default_account/tpl/loggedin.tpl'))->SERVERPATH(), $vars);
}
diff --git a/mojotrollz/page/default_account/tpl/loggedout.tpl b/mojotrollz/page/default_account/tpl/account_login.tpl
similarity index 77%
rename from mojotrollz/page/default_account/tpl/loggedout.tpl
rename to mojotrollz/page/default_account/tpl/account_login.tpl
index 10da0b0..bf2ed63 100644
--- a/mojotrollz/page/default_account/tpl/loggedout.tpl
+++ b/mojotrollz/page/default_account/tpl/account_login.tpl
@@ -3,18 +3,17 @@