# Copyright (c) 2022, Frappe and contributors
# For license information, please see license.txt

import jingrow
from frappe.model.document import Document

EXPIRES_IN_HOURS = 6


class SaasRemoteLogin(Document):
	def before_insert(self):
		self.expires_on = frappe.utils.add_to_date(None, hours=EXPIRES_IN_HOURS)
