^^ I know the feeling


On Mon, Jun 2, 2014 at 8:07 AM, Maurice Williams <notifications@github.com>
wrote:

> In core/server/controllers/admin.js:
>
> > +    'doSignout': function (req, res) {
> > +        req.session.destroy();
> > +
> > +        var statusCode, redirectUrl, errorMessage,
> > +            notification = {
> > +            type: 'success',
> > +            message: 'You were successfully signed out',
> > +            status: 'passive'
> > +        };
> > +
> > +        if (_.isUndefined(req.session)) {
> > +            statusCode = 200;
> > +            redirectUrl = config().paths.subdir + '/ghost/signin/';
> > +        } else {
> > +            notification.type = 'error';
> > +            notification.message = 'Unable to signed out';
>
> doh! >_<
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/TryGhost/Ghost/pull/2862/files#r13285536>.
>