update to vibe-d version 0.8.0
This commit is contained in:
parent
989e222b71
commit
8473bc1930
2 changed files with 2 additions and 2 deletions
2
dub.json
2
dub.json
|
@ -4,7 +4,7 @@
|
|||
"Johannes Loher"
|
||||
],
|
||||
"dependencies": {
|
||||
"vibe-d": "~>0.7.30",
|
||||
"vibe-d": "~>0.8.0",
|
||||
"poodinis": "~>8.0.0"
|
||||
},
|
||||
"description": "A simple webapplication to edit and view calendar entries",
|
||||
|
|
|
@ -22,7 +22,7 @@ import vibe.web.web : errorDisplay, noRoute, redirect, render, SessionVar,
|
|||
|
||||
@requiresAuth class CalendarWebapp
|
||||
{
|
||||
@noRoute AuthInfo authenticate(scope HTTPServerRequest req, scope HTTPServerResponse res)
|
||||
@noRoute AuthInfo authenticate(scope HTTPServerRequest req, scope HTTPServerResponse res) @trusted
|
||||
{
|
||||
if (!req.session || !req.session.isKeySet("auth"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue