Changeset 1867924
- Timestamp:
- 05/03/2018 07:57:54 AM (8 years ago)
- Location:
- unloq/trunk
- Files:
-
- 3 edited
-
autoloader/login/class-login.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
unloq.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
unloq/trunk/autoloader/login/class-login.php
r1773107 r1867924 834 834 $widget_welcome_text, 835 835 '<style> 836 body{837 height: 100%;838 min-height:100%;839 background-size: cover;840 background-position: center center;841 background-image: url(' . $this->utility->rgar($this->customise, 'image_login_background_image') . ');842 }843 #logo-holder{844 max-width: 240px;845 height: 96px;846 position: absolute;847 top: 100px;848 left: 50%;849 margin-left: -500px;850 overflow: hidden;851 }852 #logo-holder img{853 max-width: 100%;854 }855 @media(max-width: 1024px){856 #logo-holder{857 position: relative;858 top: 20px;859 left: auto;860 margin: 0 auto;861 }862 }863 #welcome-text{864 text-align: center;865 font-size: 22px;866 padding-top: 50px;867 }868 #uapp a {869 color: ' . $this->utility->rgar($this->customise, "color_link", "#3da0e3") . ';870 }871 #uapp .widget-button > button,872 #uapp .widget-container .success-container {873 background-color: ' . $this->utility->rgar($this->customise, "color_primary", "#000000") . ' !important;874 }875 #uapp .widget-button .spinner > circle {876 stroke: ' . $this->utility->rgar($this->customise, "color_primary", "#000000") . ' !important;877 }878 #uapp .app-error {879 color: ' . $this->utility->rgar($this->customise, "color_error", "#fd5252") . ' !important;880 }881 882 </style>'836 body{ 837 height: 100%; 838 min-height:100%; 839 background-size: cover; 840 background-position: center center; 841 background-image: url(' . $this->utility->rgar($this->customise, 'image_login_background_image') . '); 842 } 843 #logo-holder{ 844 max-width: 240px; 845 height: 96px; 846 position: absolute; 847 top: 100px; 848 left: 50%; 849 margin-left: -500px; 850 overflow: hidden; 851 } 852 #logo-holder img{ 853 max-width: 100%; 854 } 855 @media(max-width: 1024px){ 856 #logo-holder{ 857 position: relative; 858 top: 20px; 859 left: auto; 860 margin: 0 auto; 861 } 862 } 863 #welcome-text{ 864 text-align: center; 865 font-size: 22px; 866 padding-top: 50px; 867 } 868 #uapp a { 869 color: ' . $this->utility->rgar($this->customise, "color_link", "#3da0e3") . '; 870 } 871 #uapp .widget-button > button, 872 #uapp .widget-container .success-container { 873 background-color: ' . $this->utility->rgar($this->customise, "color_primary", "#000000") . ' !important; 874 } 875 #uapp .widget-button .spinner > circle { 876 stroke: ' . $this->utility->rgar($this->customise, "color_primary", "#000000") . ' !important; 877 } 878 #uapp .app-error { 879 color: ' . $this->utility->rgar($this->customise, "color_error", "#fd5252") . ' !important; 880 } 881 882 </style>' 883 883 ); 884 884 $content = str_replace($rep, $rep_w, $content); … … 1085 1085 { 1086 1086 if (!isset($this->settings['sso']) || $this->settings['sso'] !== 'true') return; 1087 if (!session_id()) {1088 session_start();1089 }1090 1087 add_action('init', array($this, "sso_request_start"), 2); 1091 1088 } … … 1121 1118 if (is_admin()) return; 1122 1119 if (!isset($GLOBALS['pagenow']) || $GLOBALS['pagenow'] !== 'wp-login.php') return; 1120 if (!session_id()) session_start(); 1123 1121 wp_enqueue_script('uq-login-compat', UQ_VENDORS . '/ui/js/login.compat.js', array('jquery'), UQ_VERSION, true); 1124 1122 wp_enqueue_style('uq-login-compat', UQ_VENDORS . '/ui/css/login.compat.css', array(), UQ_VERSION, 'all'); -
unloq/trunk/readme.txt
r1840596 r1867924 119 119 120 120 == Changelog == 121 = 2.1.20 = 122 * Fixed an issue with session_start() 121 123 = 2.1.19 = 122 124 * Fixed the login_redirect filter that is being applied to include the current user and the requested redirect url. -
unloq/trunk/unloq.php
r1773107 r1867924 3 3 * Plugin Name: UNLOQ Authentication 4 4 * Description: Perform UNLOQ.io authentications with the click of a button 5 * Version: 2.1. 195 * Version: 2.1.20 6 6 * Author: UNLOQ.io 7 7 * Author URI: https://unloq.io … … 18 18 19 19 define('UQ_PLUGIN', 'unloq'); 20 define('UQ_VERSION', '2.1. 19');20 define('UQ_VERSION', '2.1.20'); 21 21 define('UQ_VENDORS', plugin_dir_url(__FILE__) . 'vendors'); 22 22 define('UQ_VENDORS_DIR', plugin_dir_path(__FILE__) . 'vendors');
Note: See TracChangeset
for help on using the changeset viewer.