summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/user.rb')
-rw-r--r--qa/qa/runtime/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/qa/qa/runtime/user.rb b/qa/qa/runtime/user.rb
index 6b377f6b287..39e6adf9522 100644
--- a/qa/qa/runtime/user.rb
+++ b/qa/qa/runtime/user.rb
@@ -10,6 +10,10 @@ module QA
def password
Runtime::Env.user_password || '5iveL!fe'
end
+
+ def ldap_user?
+ Runtime::Env.user_type == 'ldap'
+ end
end
end
end