From e109c8723b4e91fbebc6173b10ed0dfc862c939b Mon Sep 17 00:00:00 2001 From: TitusPiJean Date: Tue, 28 Feb 2017 19:13:32 +0100 Subject: [PATCH] Remove ssowat_id from users table See https://github.com/tituspijean/flarum-ext-auth-ssowat/pull/8 --- scripts/install | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/install b/scripts/install index 9494f66..02bc2a7 100644 --- a/scripts/install +++ b/scripts/install @@ -178,10 +178,6 @@ if [[ $rep != 204 ]]; then ynh_die "ERROR: Could not configure SSOwat extension" fi -# Enable the selected admin to login with SSOwat -adminsql="UPDATE users SET ssowat_id = '$admin' WHERE username = '$admin'" -ynh_mysql_execute_as_root "$adminsql" $dbname - # Create missing users for username in $(ynh_user_list); do if [ "$username" == "$admin" ]; then continue; else @@ -196,8 +192,6 @@ for username in $(ynh_user_list); do if [[ $rep != 201 ]]; then ynh_die "ERROR: Flarum account creation failed for $username" fi - usersql="UPDATE users SET ssowat_id = '$username' WHERE username = '$username'" - ynh_mysql_execute_as_root "$usersql" $dbname fi done fi