• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mlibrary / keycard / 140
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/coverallsapp/github-action-2.1.0
DEFAULT BRANCH: main
Ran 03 Jul 2019 05:13PM UTC
Jobs 1
Files 40
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
140

push

travis-ci

botimer
Expire sessions and support CSRF tokens

There are two pieces here, required to allow mixed-mode applications
with browser and non-browser clients:

 1. Sessions are expired if there has been no request within the
    configurable timeout
 2. CSRF tokens are preserved during the session reset to allow for
    a GET to a login form, followed by a POST with the session-based
    token and form parameter to match.

The validate_session method should be called as before_action before
the authenticate! action. This also changes the precedence in the
default Notary to use a token before a session user ID.

Re: PFDR-223

1348 of 1350 relevant lines covered (99.85%)

4.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 140.1 (2.4.2) 03 Jul 2019 05:13PM UTC 0
99.85
Travis Job 140.1
Source Files on build 140
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #140
  • 8eb74ded on github
  • Prev Build on login-support (#137)
  • Next Build on login-support (#141)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc