diff --git a/examples/optional_protected_endpoints.py b/examples/optional_protected_endpoints.py
index <HASH>..<HASH> 100644
--- a/examples/optional_protected_endpoints.py
+++ b/examples/optional_protected_endpoints.py
@@ -36,7 +36,7 @@ def partially_protected():
     if current_user:
         return jsonify(logged_in_as=current_user), 200
     else:
-        return jsonify(loggeed_in_as='anonymous user'), 200
+        return jsonify(logged_in_as='anonymous user'), 200
 
 
 if __name__ == '__main__':
Fixed typo in example (#<I>)