Project

General

Profile

« Previous | Next » 

Revision 43

Added by stefan over 19 years ago

Added automatic frontend redirection on login.

View differences:

login.php
62 62
									"MIN_PASSWORD_LEN" => "2",
63 63
									"MAX_USERNAME_LEN" => "30",
64 64
									"MAX_PASSWORD_LEN" => "30",
65
									"LOGIN_URL" => WB_URL."/account/login".PAGE_EXTENSION,
65
									"LOGIN_URL" => WB_URL."/account/login".PAGE_EXTENSION.'?redirect='.$_REQUEST['redirect'],
66 66
									"DEFAULT_URL" => WB_URL.PAGES_DIRECTORY."/index".PAGE_EXTENSION,
67 67
									"TEMPLATE_DIR" => ADMIN_PATH."/login",
68 68
									"TEMPLATE_FILE" => "template.html",
69 69
									"FRONTEND" => true,
70 70
									"FORGOTTEN_DETAILS_APP" => WB_URL."/account/forgot.php".PAGE_EXTENSION,
71 71
									"USERS_TABLE" => TABLE_PREFIX."users",
72
									"GROUPS_TABLE" => TABLE_PREFIX."groups"
72
									"GROUPS_TABLE" => TABLE_PREFIX."groups",
73
									"REDIRECT_URL" => $_REQUEST['redirect']
73 74
							)
74 75
					);
75 76

  

Also available in: Unified diff