diff --git a/masquerade.module b/masquerade.module
index ca26743..f8fcf8c 100644
--- a/masquerade.module
+++ b/masquerade.module
@@ -915,3 +915,12 @@ function masquerade_switch_back() {
 
   watchdog('masquerade', 'User %user no longer masquerading as %masq_as.', array('%user' => $user->name, '%masq_as' => $oldname), WATCHDOG_INFO);
 }
+
+/**
+ * Implements hook_password_policy_expire_url_exclude().
+ */
+function masquerade_password_policy_expire_url_exclude() {
+  if (arg(0) == 'masquerade' && arg(1) == 'unswitch') {
+    return FALSE;
+  }
+}
