Error log in page for registered users.
authorGusa <gu.martinm@gmail.com>
Sat, 15 Dec 2012 06:49:47 +0000 (07:49 +0100)
committerGusa <gu.martinm@gmail.com>
Sat, 15 Dec 2012 06:49:47 +0000 (07:49 +0100)
When a registered user try to log in the wrong application (for example registered company user tries to log in the
users application) Symfony (sfGuard) needs this page in order to show a error message.

apps/companyfront/modules/sfGuardAuth/templates/secureSuccess.php [new file with mode: 0644]
apps/userfront/modules/sfGuardAuth/templates/secureSuccess.php [new file with mode: 0644]

diff --git a/apps/companyfront/modules/sfGuardAuth/templates/secureSuccess.php b/apps/companyfront/modules/sfGuardAuth/templates/secureSuccess.php
new file mode 100644 (file)
index 0000000..9647ca4
--- /dev/null
@@ -0,0 +1,4 @@
+<?php use_helper('I18N') ?>
+<h1><?php echo __('Oops! You do not have proper credentials. Try again.', null, 'sf_guard') ?></h1>
+
+<?php echo get_component('sfGuardAuth', 'signin_form') ?>
diff --git a/apps/userfront/modules/sfGuardAuth/templates/secureSuccess.php b/apps/userfront/modules/sfGuardAuth/templates/secureSuccess.php
new file mode 100644 (file)
index 0000000..9647ca4
--- /dev/null
@@ -0,0 +1,4 @@
+<?php use_helper('I18N') ?>
+<h1><?php echo __('Oops! You do not have proper credentials. Try again.', null, 'sf_guard') ?></h1>
+
+<?php echo get_component('sfGuardAuth', 'signin_form') ?>