Error message improved

main
Inga 🏳‍🌈 14 years ago
parent d256dc7fe1
commit 53c788ea45
  1. 2
      IISMainHandler/handlers/request/AbstractPostHandler.cs

@ -58,7 +58,7 @@ namespace FLocal.IISHandler.handlers.request {
}
if(this.shouldBeGuest && context.session != null) throw new FLocalException("Should be guest");
if(this.shouldBeLoggedIn && context.session == null) throw new FLocalException("Should be anonymous");
if(this.shouldBeLoggedIn && context.session == null) throw new FLocalException("Should be logged in");
context.WriteTransformResult(this.templateName, this.getData(context));
} catch(RedirectException) {
throw;

Loading…
Cancel
Save