Index: singlesignon.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/singlesignon/singlesignon.module,v
retrieving revision 1.33
diff -u -r1.33 singlesignon.module
--- singlesignon.module	19 May 2008 03:08:12 -0000	1.33
+++ singlesignon.module	25 Mar 2009 11:59:17 -0000
@@ -80,8 +80,8 @@
       return;
 
     default:
-      $op = isset($_POST['op']) ? $_POST['op'] : '';
-      if (function_exists('t') ? $op == t('Log in') : $op == 'Log in') {
+      $form_id = isset($_POST['form_id']) ? $_POST['form_id'] : '';
+      if ($form_id == 'user_login' || $form_id == 'user_login_block') {
         // User is in the middle of logging in.  Can't do the master/slave
         // checking yet because the login process happens after this module
         // called.  Set a flag telling us to do the master/slave checking
