From b0782a625d50c6fce4da50d5c604f5cc4f128b43 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 4 Aug 2012 20:06:44 -0700 Subject: initial fork of simple-ldap-plugin --- Simple-UM-Login-Admin.php | 190 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 Simple-UM-Login-Admin.php (limited to 'Simple-UM-Login-Admin.php') diff --git a/Simple-UM-Login-Admin.php b/Simple-UM-Login-Admin.php new file mode 100644 index 0000000..4ca94dd --- /dev/null +++ b/Simple-UM-Login-Admin.php @@ -0,0 +1,190 @@ + + + + +ID > 0) { + $bool_test = 1; + } else { + $bool_test = 2; + } +} +// Load settings, etc +$simpleum_url = get_option("simpleum_url"); + +// Version 1.3 +$simpleum_login_mode = get_option("simpleum_login_mode"); +$simpleum_group = get_option("simpleum_group"); +$simpleum_account_type = get_option("simpleum_account_type"); + +// Version 1.3.0.2 +$simpleum_security_mode = get_option("simpleum_security_mode"); + +?> + +
+ +
+
+

Settings

+

These are rather important.

+ + +
+

Advanced

+

For the intrepid and daring among you.

+

Login mode:

+
    +
  • + /> + +
  • +
  • + /> + +
  • +
  • + /> + + +
  • +
+

For latter two options, create account as:

+ +

Security mode:

+
    +
  • + /> + +
  • +
  • + /> + +
  • +
+ + +
+
+
+

Test Settings

+

Use this form as a limited test for those settings you saved.* This will test user creation and group membership. If settings don't work, use another browser to try actually logging in. (unless you'd rather get locked out)

+

*You did save them, right?

+
+
    +
  • + + +
  • +
  • + + +
  • +
+ + +
+
+

Test Results:

+

'.$test_user->get_error_message(); + } +} +?>

+
+
+
+ +
+

Debug Info:

+ +
+ + + -- cgit v1.2.3