diff --git a/docs/simplesamlphp-authsource.md b/docs/simplesamlphp-authsource.md
index 4ffd228ec7fea3b1b0b1659176d6c6dd309b4af3..0734aaa371fa237541809792936ce6edc5274684 100644
--- a/docs/simplesamlphp-authsource.md
+++ b/docs/simplesamlphp-authsource.md
@@ -42,7 +42,7 @@ The only function you need to implement is the `login($username, $password)`-fun
 This function receives the username and password the user entered, and is expected to return the attributes of that user.
 If the username or password is incorrect, it should throw an error saying so:
 
-    throw new \impleSAML\Error\Error('WRONGUSERPASS');
+    throw new \SimpleSAML\Error\Error('WRONGUSERPASS');
 
 "[Implementing custom username/password authentication](./simplesamlphp-customauth)" describes how to implement username/password authentication using that base class.