✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

CONTENTS

  • Introduction
  • Dependencies
  • Configuration
  • How the module works

INTRODUCTION

The IP login module allows user to be automatically logged in based on their IP address.

DEPENDENCIES

The module depends on field_ipaddress. This module contains a special IP address field that can handle IP spans in a way that allows fast querying.

CONFIGURATION

  • Enable module
  • Create a user field of type field_ipaddress and with the field name “field_ipaddress”.

HOW THE MODULE WORKS

Doing login by IP can be tricky and may cause unwanted effects. To avoid slowing down the site by repeated login requests and logings when access from robots, the module takes a slightly difference approach:

Login is attempted once by a javascript ajax request. Whether succesfull or not, the script will only do this once pr. browser session. This way we take away the heavy lifting from the site. If login is succesful, the script will just reload the current page and user is logged in.

Featured Templates

View More
AI Assistants
AI Chatbot Starter Kit v0.1
140 913
Verified Icon
AI Assistants
Speech to Text
137 1882
AI Assistants
Talk with Claude 3
159 1523
AI Agents
AI Video Generator
252 2007 5.0

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.