Skip to main content

A simple django app that provides site-wide easy password authentication for 1 user

Project description

django-pin-password
===================

This is a simple app that adds a site-wide pin-passcode for quick authentication. I wrote this originally for my personal
motivation tracker called [chin up](https://github.com/ckcollab/chin-up) so I could quickly login from my phone.

You enter a PIN passcode (using 0-9 and #) and when you have entered the correct pin you will be logged in as `PIN_PASSCODE_USERNAME`
and forwarded either the index or the page you were trying to request.


Installation
============

Django Settings:

```python
INSTALLED_APPS += (
'pin_passcode',
)
```

```python
MIDDLEWARE_CLASSES += (
'pin_passcode.middleware.PinPasscodeMiddleware',
)
```

```python
PIN_PASSCODE_USERNAME = 'eric' # user to sign in as, defaults to "admin"
PIN_PASSCODE_PIN = 1234 # the passcode required to login as the above user, using 0-9 and #
```

Add to `urls.py`:

```python
url(r'^admin/', include(admin.site.urls)),
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-pin-passcode-0.0.6.zip (7.4 kB view details)

Uploaded Source

File details

Details for the file django-pin-passcode-0.0.6.zip.

File metadata

File hashes

Hashes for django-pin-passcode-0.0.6.zip
Algorithm Hash digest
SHA256 9d8eb1f6c40477a8abb94f1e9f054a9239cc1c44f466a55738442d7e3e8f6157
MD5 494dd15c38a35771ac9790f4c529fac2
BLAKE2b-256 c2d0ceffd74b50d8bf6a1c3f594504feaa98d0346b3a0e845086187d6ccc785e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page